import { Router } from 'express';

const router = Router();

router.get('/', (req, res) => {
  res.render('login', { title: 'My Chat App' });
});

router.get('/register', (req, res) => {
  res.render('register', { title: 'My Chat App' });
});

export default router;